<%@ page import="com.ejoysoft.wlanyz.system.SysPara1,com.ejoysoft.common.Constants"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="../include/jsp/head.jsp"%>
 <%
   String  strType=ParamUtil.getString(globa.request,"strType","");
      int intMaxSort=1;
      if(!strType.equals(""))
        intMaxSort=new SysPara1(globa).netOrder(strType);
     //返回页面的url
String strUrl="syspara_list.jsp";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=application.getAttribute("APP_TITLE")%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
body,td,th {
	font-size: 9pt;
	color: #111111;
}
-->
</style>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<script src="../include/js/chkFrm.js"></script>
<script language="javascript">
    function chkFrm() {
        if(trim(frm.strName.value)=="") {
            alert("请输入参数名！！！")
            frm.paraName.focus();
            return false;
        }
        if(trim(frm.strValue.value)=="") {
            alert("请输入参数值！！！")
            frm.paraValue.focus();
            return false;
        }   
       	frm.submit();
    }
</script>
</head>

<body>
<form name="frm" method="post" action="syspara1_act.jsp">
<input type="hidden" name="<%=Constants.ACTION_TYPE%>" value="<%=Constants.ADD_STR%>"/>
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><img src="../images/ri_list.jpg" width="14" height="14" align="bottom" />&nbsp;您现在所在的位置：<font color="#0e7cc9">参数管理</font> &gt; 参数修改</td>
  </tr>
</table>

<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
    <td width="6%" class="listtit1"  style="border-left:1px solid #32a4ea;">&nbsp;参数修改</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="listd" style="border-left:1px solid #dddddd;border-right:1px solid #dddddd;">
    <table width="702" border="0" cellpadding="0" cellspacing="0">
      
      <tr>
        <td height="20" colspan="4">&nbsp;</td>
      </tr>
      <tr>
        <td width="128" align="right">&nbsp;</td>
        <td width="100"  align="right" class="tdwz">参数类型：</td>
         <td width="262"><input name="strType" type="text"  value="" class="ipt" /></td>
        <td width="212">&nbsp;</td>
      </tr>
      <tr>
        <td width="128" align="right">&nbsp;</td>
        <td width="100"  align="right" class="tdwz">参数名：</td>
        <td width="262"><input name="strName" type="text"  value="" class="ipt" /></td>
        <td width="212">&nbsp;</td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td align="right" class="tdwz">参数值：</td>
        <td><input name="strValue" type="text"  value="" class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td align="right" class="tdwz">序　　号：</td>
        <td><input name="intSort"  type="text"  value="" class="ipt"/></td>
                   
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td align="right" class="tdwz">状　　态：</td>
        <td><input type="radio" name="strState" value="正常" class="input_box" checked/>
                  正常
                  <input type="radio" name="strState" value="禁用"   class="input_box"/>
                  禁用</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td height="50" align="left">&nbsp;&nbsp;</td>
        <td height="50" colspan="2" align="left"><input name="B1" type="button"  value="确  定" onclick="chkFrm()" class="ipt1" style="cursor:hand"/>
          &nbsp;<input name="B12" type="reset" value="取 消" class="ipt2" style="cursor:hand"/>
          &nbsp;<input name="B12" type="button"  onclick="window.location.href='syspara1_list.jsp';" value="返 回" class="ipt2" style="cursor:hand"/></td>
        </tr>
        
    </table>
    </td>
    </tr>
    </table>
</form>
</body>
</html>
<%@ include file="../include/jsp/footer.jsp"%>